<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
        <link href="{{Asset('assets/images/logo.png')}}" rel="shortcut icon" type="image/x-icon" />
        <title>
            @section('title')
                App Admin
            @show
        </title>
        
        @section('style')
        @show
        {{ HTML::style('assets/stylesheets/library/bootstrap.min.css') }}
        {{ HTML::style('assets/stylesheets/library/font-awesome.min.css') }}
        {{ HTML::style('assets/stylesheets/library/smartadmin-production.min.css') }}
        {{ HTML::style('assets/stylesheets/library/smartadmin-skins.min.css') }}
        {{ HTML::style('assets/stylesheets/library/demo.min.css') }}
        {{ HTML::style('assets/stylesheets/admin-insurebel.css') }}
        
        <!-- GOOGLE FONT -->
        <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,300,400,700">

        <script type="text/javascript"> 
            baseUrl = "{{ URL::to('/') }}";
            timeOutNumber = 10000; //in ms
            thousandsSep = '<?php echo Session::get('language_code') === 'en' ? '.' : ',' ?>';
            language_code = "{{ Session::get('language_code', 'en') }}";
        </script>
        
        {{ HTML::script('assets/javascripts/library/libs/jquery-2.0.2.min.js') }}
        {{ HTML::script('assets/javascripts/library/libs/jquery-ui-1.10.3.min.js') }}
        
    </head>
    <body class="">
        @include('elements/admin_header')
        @include('elements/admin_navigation')
        
        <div class="alert alert-block alert-success" id="alert-admin">
            <a class="close" data-dismiss="alert" href="#">×</a>
            <span id="content-mgs"><i class="fa fa-thumbs-o-up"></i> </span>
        </div>
        <div id="main" role="main">
            <div id="ribbon">
                <span class="ribbon-button-alignment"> 
                    <span id="refresh" class="btn btn-ribbon" data-action="resetWidgets" data-title="refresh"  rel="tooltip" data-placement="bottom" data-original-title="<i class='text-warning fa fa-warning'></i> Warning! This will reset all your widget settings." data-html="true">
                        <i class="fa fa-refresh"></i>
                    </span> 
                </span>
                <ol class="breadcrumb">
                    <li>Home</li><li>@section('page') @show</li>
                </ol>
            </div>
            <div id="content">
                @yield('content')
            </div>
        </div>
        @include('elements/admin_footer')
        
        <!-- PACE LOADER - turn this on if you want ajax loading to show (caution: uses lots of memory on iDevices)-->
        <script data-pace-options='{ "restartOnRequestAfter": true }' src="{{Asset('assets/javascripts/library/plugin/pace/pace.min.js')}}"></script>

        {{ HTML::script('assets/javascripts/library/app.config.js') }}
        {{ HTML::script('assets/javascripts/library/plugin/jquery-touch/jquery.ui.touch-punch.min.js') }}
        {{ HTML::script('assets/javascripts/library/bootstrap/bootstrap.min.js') }}
        {{ HTML::script('assets/javascripts/library/notification/SmartNotification.min.js') }}
        {{ HTML::script('assets/javascripts/library/smartwidgets/jarvis.widget.min.js') }}
        {{ HTML::script('assets/javascripts/library/plugin/sparkline/jquery.sparkline.min.js') }}
        {{ HTML::script('assets/javascripts/library/plugin/masked-input/jquery.maskedinput.min.js') }}
        {{ HTML::script('assets/javascripts/library/plugin/msie-fix/jquery.mb.browser.min.js') }}
        {{ HTML::script('assets/javascripts/library/plugin/fastclick/fastclick.min.js') }}
        {{ HTML::script('assets/javascripts/library/bootbox.min.js') }}
        {{ HTML::script('assets/javascripts/library/app.min.js') }}
        
        @section('scripts')
        @show
    </body>
</html>